package com.xian.im.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 限流参数配置
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "limit")
public class LimitProperties {

    private Long minuteSize;

    private Long hourSize;

    private Long daySize;
}
